{* Smarty *}
{include file="admin/admin-header.tpl" menu_here="general-settings"}
<div id="main">
	<h1>普通设置</h1>

	<form action="/dr-admin/dr-page-admin-general-settings.php" method="post">
		<table>
			<tr>
				<td>站点名称</td>
				<td><input type="text" name="sitename" id="sitename"
				           value="{$options.sitename}"/></td>
			</tr>
			<tr>
				<td>问题一页显示数目：</td>
				<td><input type="text" name="question_per_page"
				           id="question_per_page"
				           value="{$options.question_per_page}"/></td>
			</tr>
			<tr>
				<td>回答一页显示条目：</td>
				<td><input type="text" name="answer_per_page"
				           id="answer_per_page"
				           value="{$options.answer_per_page}"/></td>
			</tr>
		</table>
		<input type="submit" name="submit" id="submit" value="保存更改"/>
	</form>
</div>
{include file="admin/admin-footer.tpl"}